
import java.io.PrintWriter;

class Block extends Node {

	private Node statementSequence = null;

	public Block(Node s) {
		statementSequence = s;
	}

	@Override
	public void print(PrintWriter pw) {

		pw.println("Node name : Begin");
		// assert(stat_seq_);
		if (statementSequence != null)
			statementSequence.print(pw);
		pw.println("Node name : End");
	}
	public String translate(PrintWriter pw, String condition) {
		pw.println("{");
		System.out.println("lalala");
		// to be removed.
		if (statementSequence != null)
//			statementSequence.print(pw);
			statementSequence.translate(pw,null);
		pw.println("}");
		return null;
	}
}
